var databases = [ "ClientDW_A", "ClientDW_B" ];
var collections = [ 
    "GICSIndustry", "GICSIndustryGroup", "GICSSector", "GICSSubIndustry", 
    "BackupEsgFocusThresholds", "BackupEsgFocusPercentileThreshold", 
    "CompanyPerformance", "CompanyHistoricalPerformance",
    "CorporateGovernanceResearchProfile", "EsgControversyIndicator",
   "EsgOverallPerformanceSummary", "EsgRating", "EsgRelativePosition", 
   "Exchange", "ISIN", "Sedol", "Ticker", "SubIndustryKeyEsgIssue", "RootPeerGroup",
   "SecurityList", "SecuritySecurityListsAssociation", "ReferenceData", "PICIQIDUniverse" ]

databases.forEach(function(database){
    collections.forEach(function(coll){
         db.getSiblingDB(database).getCollection(coll).drop()
    })  
})